package com.xes.ams.client.api;

public class BaseException extends Exception {
	private static final long serialVersionUID = 1L;
	private ResultCode resultCode;

	public BaseException(ResultCode resultCode) {
		super();
		this.resultCode = resultCode;
	}
	

	public BaseException(String message, ResultCode resultCode) {
		super(message);
		this.resultCode = resultCode;
	}


	public BaseException(Throwable cause, ResultCode resultCode) {
		super(cause);
		this.resultCode = resultCode;
	}

	public ResultCode getResultCode() {
		return resultCode;
	}

	public void setResultCode(ResultCode resultCode) {
		this.resultCode = resultCode;
	}

}
